
// #ifndef VUE3
import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

App.mpType = 'app'

// import request from "./commonFun/request.js"
// Vue.prototype.$request = request
import request from "./commonFun/request.js"
Vue.prototype.$request = request
const app = new Vue({
    ...App,
	onShow() {
		Vue.prototype.$bus = this//安装全局事件总线
	}
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif
import uView from "uview-ui";
Vue.use(uView);